console.log(1)
let p = new Promise((resolve, reject) => {
	setTimeout((params) => {
		console.log(2)
		resolve()
	}, 3000)
})
console.log(3)

p.then((data) => {
	console.log(data)
	console.log(222)
}).catch((params) => {
	console.log('error')
})

Promise.resolve.then(() => {
  
})
